package com.huatai.bi.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.List;

/**
 * @author : zhangbenting
 * @date : 2024/6/27 21:12
 * @Version: 1.0
 */
@Data
public class GroupAssignParameterDto implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 赋值列名称
	 */
	@ApiModelProperty(value = "赋值列名称",required = true)
	@Pattern(regexp = "^[A-Za-z]*$", message = "必须为英文字符")
	private String assignRowName;

	/**
	 * 赋值列描述
	 */
	@ApiModelProperty(value = "赋值列描述",required = true)
	@Pattern(regexp = "^[\\u4e00-\\u9fa5]*$", message = "必须为中文字符")
	private String assignRowDescription;

	/**
	 * 赋值依据
	 */
	@ApiModelProperty(value = "赋值依据",required = true)
	private String assignBasis;

	/**
	 * 数据区间
	 */
	@ApiModelProperty(value = "数据区间",required = true)
	private List<DataRangeDto> dataRange;

}
